package com.itheima04;

import org.w3c.dom.ls.LSOutput;

public class Outer {



    public void methid1(){
        int num=10;
        System.out.println(num);
    }
    public void method2(){
        class Inner{
            public void small(){
                System.out.println("内部类方法");
            }
        }
        Inner ii=new Inner();
        ii.small();
    }
}
